﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="allocateSubTeachers.aspx.cs" Inherits="SMSSnew.UI.subTeacher.allocateSubTeachers" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<link href="../../css/StyleSheet.css" rel="stylesheet" type="text/css" />

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        .style1
        {
            width: 250px;
            height: 51px;
        }
        .style2
        {
            height: 51px;
        }
    </style>
</head>
<body>

    <div class="container">
    <form id="form1" runat="server" class="well span11 text-center">
    <asp:HyperLink ID="HyperLink6" runat="server" CssClass="text-right"><h5>Logout</h5></asp:HyperLink>	
 
    <h4 class="text-info">Substitute Teacher Allocation</h4>
<table class="table container">
<tr>
<td class="Colwidth"><br />
<asp:Label ID="Label5" runat="server" Text="Date" ></asp:Label><br />
</td>
<td><br />
                                    <telerik:RadDatePicker ID="datepickernew" 
            runat="server" Skin="WebBlue" Culture="English (United States)"> 
      
                                        <DateInput InvalidStyleDuration="100" LabelCssClass="radLabelCss_WebBlue" Skin="WebBlue" class="span4">
                                        </DateInput>
                                        <Calendar Skin="WebBlue">
                                        </Calendar>
                                        <DatePopupButton CssClass="radPopupImage_WebBlue"></DatePopupButton>
                                    </telerik:RadDatePicker>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
</tr>
<tr>
<td class="Colwidth"><br />
<asp:Button ID="AssignteachersBtn" runat="server" onclick=" AssignteachersBtn_Click" 
        Text="Assign Teachers" class="btn btn-primary"/>
    </td>
<td>&nbsp; <br />
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
</tr>
</table>  

             
           
                        
           <br />
  

              

             
           <telerik:RadGrid ID="RadGrid5" runat="server" AutoGenerateColumns="False"  ClientSettings-Scrolling-AllowScroll="true"
                        GridLines="None" AllowPaging="False" Skin="WebBlue" >
                        <ClientSettings>
               <Scrolling AllowScroll="true" UseStaticHeaders="True" SaveScrollPosition="True"/>
          </ClientSettings>
                        <MasterTableView GroupLoadMode="Client">
                            <RowIndicatorColumn Visible="False">
                            
                                <HeaderStyle />
                            </RowIndicatorColumn>
                            <ExpandCollapseColumn Resizable="False" Visible="False">
                                <HeaderStyle />
                            </ExpandCollapseColumn>
                            <Columns>
                                <telerik:GridBoundColumn DataField="absent_teacher_id" HeaderText="Absent Teacher ID" SortExpression="absent_teacher_id"
                                    UniqueName="teacherId">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="slot_id" HeaderText="Slot ID" SortExpression="slot_id"
                                    UniqueName="slotid">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="date_format(a.date_assigned,'%y/%m/%d')" HeaderText="Date" SortExpression="date_assigned"
                                    UniqueName="dateU">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="replacing_teacher_id" HeaderText="Replacing Teacher ID" SortExpression="replacing_teacher_id"
                                    UniqueName="replacingteacherid">
                                </telerik:GridBoundColumn>
                                  <telerik:GridBoundColumn DataField="class_id" HeaderText="Class ID" SortExpression="class_id"
                                    UniqueName="classid">
                                </telerik:GridBoundColumn>
                                
                                <%--<telerik:GridTemplateColumn UniqueName="TemplateColumn">
                                    
                                </telerik:GridTemplateColumn>--%>
                            </Columns>
                            <%--<GroupByExpressions>
                                <telerik:GridGroupByExpression>
                                    <GroupByFields>
                                        <telerik:GridGroupByField FieldAlias="Status" FieldName="LEAVE_STATUS" HeaderValueSeparator=" : " />
                                    </GroupByFields>
                                    <SelectFields>
                                        <telerik:GridGroupByField FieldAlias="Status" FieldName="LEAVE_STATUS" HeaderValueSeparator=" : " />
                                    </SelectFields>
                                </telerik:GridGroupByExpression>
                            </GroupByExpressions>--%>
                            <EditFormSettings>
                                <PopUpSettings ScrollBars="None" />
                            </EditFormSettings>
                        </MasterTableView>
                    </telerik:RadGrid>
                        
           <br/><br/>
             
             
        <br />
                
           
<table class="table container">


<tr>
<%--<td class="Colwidth">
    <br />
<asp:Button ID="NotAssignedTchrsBtn" runat="server" onclick="NotAssignedTchrsBtn_Click" 
        Text="Teachers Not Yet Assigned" class="btn btn-primary"/>
    &nbsp;<br />
   
    </td>--%>

<td class="Colwidth">
    <br />
<asp:Button ID="SendMailButn" runat="server" onclick="SendMailButn_Click" 
        Text="Send Email" class="btn btn-primary" Width="221px"/>
    &nbsp;<br />
   
    </td>
    
    <td class="Colwidth">
    <br />
<asp:Button ID="Button1" runat="server" onclick="OKButn_Click" 
        Text="OK" class="btn btn-primary" Width="181px"/>
    &nbsp;<br />
   
    </td>
</tr>

 


   </table>

             
           <br />
                
           

             
           
                        
           
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
       </form>                 
           
           </div>
          

    
    </body>
</html>
